package com.csh.auth.application.convert;

import com.csh.auth.application.dto.AuthUserDto;
import com.csh.auth.domain.entity.AuthUserBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户 Dto转换器
 *
 * @Author: Maverick_Csh
 * @Date: 2024/3/20
 */
@Mapper
public interface AuthUserDtoConverter {

    AuthUserDtoConverter INSTANCE = Mappers.getMapper(AuthUserDtoConverter.class);

    AuthUserBo convertDtoToBo(AuthUserDto authUserDTO);

    AuthUserDto convertBoToDto(AuthUserBo authUserBo);
}
